package com.qingke.easyjava.demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.qingke.easyjava.Persons;

public class PersonDemo {
	
	public static void main(String[] args) {
		
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("bean1.xml");
		
		Persons persons = context.getBean("personsBean",Persons.class);
		
		System.out.println(persons.getLists().toString());
		System.out.println(persons.getSets().toString());
		System.out.println(persons.getMaps().toString());
	}
	

}
